package com.ardf.service.impl;

import com.ardf.entity.Athlete;
import com.ardf.entity.Group;
import com.ardf.entity.Team;
import com.ardf.entity.dto.AthleteTeamDto;
import com.ardf.mapper.TeamMapper;
import com.ardf.service.ITeamService;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ShiYunHao
 * @since 2025-01-06
 */
@Service
public class TeamServiceImpl extends ServiceImpl<TeamMapper, Team> implements ITeamService {

    @Resource
    private TeamMapper teamMapper;

    @Override
    public List<AthleteTeamDto> selectAtheleByTId(Long teamId,Long projectId) {

        return teamMapper.selectAtheleByTId(teamId,projectId);
    }


}
